<%-- 
    Document   : buy
    Created on : 1.12.2012, 17:11:43
    Author     : Admin
--%>

<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>

<s:layout-render name="/newjsp.jsp">
    <s:layout-component name="hlavicka">
        <f:message key="nadpis.home"/>
    </s:layout-component>
    <s:layout-component name="telo">
        <s:useActionBean beanclass="pneuservis.frontend.web.IndexActionBean" var="actionBean"/>
        <b><c:out value="${actionBean.tyre.manufacturer}"/></b>
        <c:out value="${actionBean.tyre.rimSize}R/"/>
        <c:out value="${actionBean.tyre.width}/"/>
        <c:out value="${actionBean.tyre.profile}/"/>
        <c:out value="${actionBean.tyre.season}"/>
        <br/>
        <c:out value="${actionBean.order.tyresCount}"/>
        <br/>
        <c:out value="${actionBean.order.vehicleBrand}"/>
        <ul>
            <c:forEach items="${actionBean.order.servicePneus}" var="service">
                <li><s:label name="${service.name} - "/><s:label name="${service.price}"/></li>
            </c:forEach>
        </ul>
        
        <f:message key="key.thanks"/>
        
    </s:layout-component>
</s:layout-render>